package com.mali.backendcommon.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "mali.email")
@Data
public class EmailProperties {

    /**
     * 邮件相关配置
     */

    private String host;
    private long port;
    private String userName;
    private String password;

    private  String IsAuth;

    private  String IsTls;

    private String subject;

    private String contentPreCode;
    private String contentAfterCode;



}
